import request from '@/utils/request'

//获取订单列表
export function getorderlist(query) {
  return request({
    url: '/admin/getorderlist',
    method: 'get',
    params: query
  })
}

//获取某一个订单详情
export function getOrderFind(query) {
  return request({
    url: '/admin/getOrderFind',
    method: 'get',
    params: query
  })
}

//订单发货
export function sendOutGoods(data) {
  return request({
    url: '/admin/sendOutGoods',
    method: 'post',
    data
  })
}